The CxFmsNodeChooserCtrl object contains the following events.
The control is initialized.
CxFmsNodeChooserCtrlObject_EventInitialize()
Example
The following example displays a message box when the control is initialized.
|
Sub FmsNodeChooser_EventInitialize() Dim This : Set This = FmsNodeChooser MsgBox "Control initialized" End Sub |
(Obsolete)
The action button at the bottom of the control has been pressed.
CxFmsNodeChooserCtrlObject_EventUpdated()
Example
The following example displays a message box when the action button is clicked. This example is taken from FMS Node Chooser Ctrl.csf found in the APPS SCREXAMP folder.
|
Sub FmsNodeChooser_EventUpdated() Dim This : Set This = FmsNodeChooser Dim arySelected arySelected = FmsNodeChooser.GetNodeSelection()
If UBound (arySelected) >= 0 Then Dim i, strMsg strMsg = "Selected Nodes: " & Vbcr For i = 0 To UBound (arySelected) strMsg = strMsg & arySelected(i) & Vbcr Next
MsgBox strMsg 'add script here to do something with the selection Else MsgBox "You must select a Node first" End If End Sub |